package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.UserAirdrop;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.dao.UserAirdropMapper;
import com.yami.shop.service.UserAirdropService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户空投记录表 服务实现类
 * </p>
 *
 * @author author
 * @since 2023-05-18
 */
@Service
public class UserAirdropServiceImpl extends ServiceImpl<UserAirdropMapper, UserAirdrop> implements UserAirdropService {

    @Autowired
    UserAirdropMapper userAirdropMapper;

    @Override
    public IPage<UserAirdrop> getUserAirdropPage(PageParam<UserAirdrop> page, UserAirdrop userAirdrop) {
        return userAirdropMapper.getUserAirdropPage(page,userAirdrop);
    }
}
